home *** CD-ROM | disk | FTP | other *** search
- /* Unix definition file for less. -*- C -*-
- *
- * This file has 3 sections:
- * User preferences.
- * Settings always true on Unix.
- * Settings automatically determined by configure.
- *
- * * * * * * WARNING * * * * * *
- * If you edit defines.h by hand, do "touch stamp-h" before you run make
- * so config.status doesn't overwrite your changes.
- */
-
- /* User preferences. */
-
- /*
- * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
- * (This is possible only if your system supplies the system() function.)
- */
- #define SHELL_ESCAPE 1
-
- /*
- * TAB_COMPLETE_FILENAME is 1 if you wish to allow the TAB key
- * to complete filenames at prompts.
- */
- #define TAB_COMPLETE_FILENAME 1
-
- /*
- * CMD_HISTORY is 1 if you wish to allow keys to cycle through
- * previous commands at prompts.
- */
- #define CMD_HISTORY 1
-
- /*
- * HILITE_SEARCH is 1 if you wish to have search targets to be
- * displayed in standout mode.
- */
- #define HILITE_SEARCH 1
-
- /*
- * EDITOR is 1 if you wish to allow editor invocation (the "v" command).
- * (This is possible only if your system supplies the system() function.)
- * EDIT_PGM is the name of the (default) editor to be invoked.
- */
- #define EDITOR 1
- #define EDIT_PGM "vi"
-
- /*
- * TAGS is 1 if you wish to support tag files.
- */
- #define TAGS 1
-
- /*
- * USERFILE is 1 if you wish to allow a .less file to specify
- * user-defined key bindings.
- */
- #define USERFILE 1
-
- /*
- * GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
- * This will generally work if your system provides the "popen" function
- * and the "echo" shell command.
- */
- #define GLOB 1
-
- /*
- * PIPEC is 1 if you wish to have the "|" command
- * which allows the user to pipe data into a shell command.
- */
- #define PIPEC 1
-
- /*
- * LOGFILE is 1 if you wish to allow the -l option (to create log files).
- */
- #define LOGFILE 1
-
- /*
- * ONLY_RETURN is 1 if you want RETURN to be the only input which
- * will continue past an error message.
- * Otherwise, any key will continue past an error message.
- */
- #define ONLY_RETURN 0
-
- /*
- * LESSKEYFILE is the filename of the default lesskey output file
- * (in the HOME directory).
- * DEF_LESSKEYINFILE is the filename of the default lesskey input
- * (in the HOME directory).
- */
- #define LESSKEYFILE ".less"
- #define DEF_LESSKEYINFILE ".lesskey"
-
-
- /* Settings always true on Unix. */
-
- /*
- * Define MSOFTC if compiling under Microsoft C.
- */
- #define MSOFTC 0
-
- /*
- * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>.
- */
- #define HAVE_SYS_TYPES_H 1
-
- /*
- * HAVE_STAT is 1 if your system has the stat() call.
- */
- #define HAVE_STAT 1
-
- /*
- * HAVE_PERROR is 1 if your system has the perror() call.
- * (Actually, if it has sys_errlist, sys_nerr and errno.)
- */
- #define HAVE_PERROR 1
-
- /*
- * HAVE_TIME is 1 if your system has the time() call.
- */
- #define HAVE_TIME 1
-
- /*
- * HAVE_SHELL is 1 if your system supports a SHELL command interpreter.
- */
- #define HAVE_SHELL 1
-
- /* Settings automatically determined by configure. */
-